
import { loadCultivateTutorStuResultList } from "../../services/mentor"
export default {

  namespace: 'resultTeacherStuModule',

  state: {
    loadStuInfoList:[]
  },

  effects: {
    *loadCultivateTutorStuResu({ payload }, { call, put }) {
      let nav = yield loadCultivateTutorStuResultList(payload)
      yield put({
        type: 'loadStuInfoList', payload: nav
      });
    },
  },

  reducers: {
    save(state, action) {
      return { ...state, ...action.payload };
    },
    loadStuInfoList(state, { payload }) {
      state.loadStuInfoList = payload;
      return {
        ...state,
        ...payload,
      }
  },
  },

};
